class AddAdmin < ActiveRecord::Migration
  def self.up
    Alumno.create(:username => 'admin',
                  :password => 'ce472b1b8675617e90bd3cacb01f6a84ce8a6886',
                  :salt => '276573800.839669001834432',
                  :nombre => 'admin',
                  :ap_paterno => 'admin',
                  :ap_materno => 'admin',
                  :cuenta => 0,
                  :correo => 'admin@webadmin.com',
                  :carrera => 'admin',
                  :semestre => 8)
  end

  def self.down
    Alumno.find_by_username('admin').destroy
  end
end
